package multiThread.assignment;

public class Pgm1 {
	public static void main(String[] args) {
		ThreadA obj = new ThreadA();

		Thread t0 = new Thread(obj);
		Thread t1 = new Thread(obj);
		Thread t2 = new Thread(obj);

		t0.setName("First");
		t1.setName("Secon");
		t2.setName("Third");

		t2.setPriority(Thread.MAX_PRIORITY);

		t0.start();
		t1.start();
		t2.start();
	}
}
